const { showAlert } = require("../utils/alert_tool");
const { BaseCommand } = require("./base");

class AlertCommand extends BaseCommand {
    async execute() {
        const data = this.selfData;
        await showAlert(data.type, data.msg, data.title);
    }

    getRequiredParams() {
        return ["msg"];
    }
}

module.exports = {
    AlertCommand,
};
